package com.gxgy.service;

import java.util.List;

import org.springframework.ui.Model;

import com.gxgy.entity.Role;

public interface RoleService {
	
	Integer addOneRole(String id,String roleName,String createTime);
	
	Integer delectRole(String id);
	
	Integer updateRole(String id,String roleName,String createTime);
	
	Role roleById(String id);
	
	Role queryRoleByName(String name);
	
	
	List<Role> queryAllRole();

}
